@@ -7,7 +7,7 @@ class UserMailer < ActionMailer::Base |
||
7 | 7 |
:subject => ("Welcome to "+ config.website_name), |
8 | 8 |
:from => config.contact_email, |
9 | 9 |
:from_name => config.website_name, |
10 |
- :body => ("Thanks for registering to our website. " + config.website_link) |
|
10 |
+ :body => ("Thanks for registering to our website. " + (config.website_link if config.website_link != nil)) |
|
11 | 11 |
end |
12 | 12 |
|
13 | 13 |
def contact_message(contact_message, to_address) |